package com.example.xloong.mymvvm.model;

import com.example.xloong.mymvvm.base.BaseLoadListener;
import com.example.xloong.mymvvm.bean.NewsBean;
import com.example.xloong.mymvvm.bean.NewsBeanSimple;

/**
 * Created by Xloong on 2018/1/25.
 */

public interface NewsModel {

    /**
     *
     * 获取新闻数据
     *
     *
     * @param page  页数
     * @param loadListener
     * @param id    传入哪一列
     */


    void loadNewsData(int page, BaseLoadListener<NewsBeanSimple> loadListener, String id);


}
